package com.reny.ll.git.base_logic.app_task

import com.reny.ll.git.core.taskdispatch.task.Task


class DelayTask(private val isMainThread:Boolean = true, val task:()->Unit) : Task() {

    override fun runOnMainThread(): Boolean = isMainThread

    override fun run() {
        task()
    }

}